<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	import="com.wavecoler.professor.dao.WordDAO, com.wavecoler.professor.objects.Word, java.util.List"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>List of Users</title>
</head>
<body>
	<% List<Word> words = WordDAO.getWordList();
   for(int i = 0; i < words.size(); i++){
	  int number = i+1;
	  Word word = words.get(i); %>
	Word #<%= number %>
	<br /> Main Word:
	<%= word.getMainWord()%>
	<br>Plural Form:
	<%= word.getPluralForm() %>
	<br>Synonym:
	<%=  word.getSynonym() %>
	<br>Abbreviation:
	<%=  word.getAbbreviation() %>
	<br />
	<br />
	<% }%>
</body>
</html>